package com.lu.system.user.service;

import com.lu.system.user.domain.RoleDO;

import java.util.List;
import java.util.Map;

/**
 * 角色
 * 
 * @author zhanglu
 * @email 1309617271@qq.com
 * @date 2018-09-20 21:05:03
 */
public interface RoleService {
	
	RoleDO get(Long roleId);
	
	List<RoleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RoleDO role);

    void saveBatch(List<RoleDO> role) throws Exception;
	
	int update(RoleDO role);

    void updateBatch(List<RoleDO> role) throws Exception;
	
	int remove(Long roleId);
	
	int batchRemove(Long[] roleIds);
}
